package com.hdax.dmw.user.service;

import com.hdax.dmw.common.utils.Result;
import com.hdax.dmw.entity.user.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hdax.dmw.user.dtos.LoginDto;

/**
* @author guoyisha
* @description 针对表【dm_user(用户表)】的数据库操作Service
* @createDate 2023-06-18 15:13:28
*/
public interface UserService extends IService<User> {

    Result<LoginDto> login(String phone, String password);
    Result<LoginDto> login(String phone);
}
